<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/app.css">
</head>
<body>
    <h3>英雄联盟页面</h3>
    <ul class="hero-list">
        <% for(let i=0;i<data.heros.length;i++){%>

            <li class="item">
                <img src="<%=data.heros[i].avatar%>" alt="">
                <p><%=data.heros[i].name%></p>
            </li>

        <%} %>
    </ul>
</body>
</html>